package com.zb.kc.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zb.kc.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.kc.entity.vo.CourseInfoVo;
import com.zb.kc.entity.vo.CoursePublishVo;
import com.zb.kc.entity.vo.CourseWebVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author wanggen
 * @since 2020-04-10
 */
public interface EduCourseDao extends BaseMapper<EduCourse> {

    CoursePublishVo getCoursePublishById(String courseId);

    Page<CourseInfoVo> getPageCourseInfoVo(Page<CourseInfoVo> page, @Param("civ") CourseInfoVo courseInfoVo);

    CourseWebVo selectInfoWebById(String courseId);
}
